package com.hyf.statis;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication
@MapperScan("com.hyf.statis.mapper")
@ComponentScan("com.hyf")
@EnableDiscoveryClient
@EnableFeignClients
@EnableScheduling// 定时器开启
public class StatisAppstaion {
	public static void main(String[] args) {
		
		SpringApplication.run(StatisAppstaion.class, args);
		
	}
}
